package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.knowledgepoint.KnowledgePointQueryDTO;
import com.gsafety.wellsfort.domain.model.knowledge.KnowledgePoint;

import java.util.List;

public interface KnowledgePointDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(KnowledgePoint record);

    int insertSelective(KnowledgePoint record);

    KnowledgePoint selectByPrimaryKey(Integer id);

    List<KnowledgePoint> selectByParam(KnowledgePointQueryDTO dtoParams);

    int updateByPrimaryKeySelective(KnowledgePoint record);

    int updateByPrimaryKey(KnowledgePoint record);
}